home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / extra / helpful.zip / ftape < prev    next >
Text File  |  1995-08-21  |  41KB  |  1,242 lines

  1.   ftape-HOWTO
  2.   Kai Harrekilde-Petersen, <khp@pip.dknet.dk>
  3.   v1.53, 2 July 1995 for ftape-2.03b
  4.  
  5.   This HOWTO discuss the essentials of the do's and dont's for the ftape
  6.   driver under Linux.  The ftape driver interfaces to QIC-40, QIC-80,
  7.   QIC-3010 and QIC-3020 compatible drives only. The QIC-3010 and
  8.   QIC-3020 standards are also known as `QIC-WIDE'.  These drives con-
  9.   nects via the floppy disk controller (FDC).  It does not cover SCSI or
  10.   QIC-02 tape drives.  DAT tape drives usually (always?) connect to a
  11.   SCSI controller.  This is but one of the Linux HOWTO documents.  You
  12.   can get an index of the HOWTOs from the Linux HOWTO index
  13.   <http://sunsite.unc.edu/mdw/HOWTO>, while the real HOWTO's can be
  14.   fetched (using ftp) from sunsite.unc.edu:pub/Linux/doc/HOWTO (this is
  15.   the ``official'' place) or via the World Wide Web from the Linux Docu-
  16.   mentation Project home page <http://sunsite.unc.edu/mdw/linux.hmtl>.
  17.  
  18.   1.  Legalese
  19.  
  20.  
  21.   This is the `Frequently Asked Questions' (FAQ) / HOWTO document for
  22.   the ftape driver (ftape-HOWTO), Copyright (C) 1993, 1994, 1995 Kai
  23.   Harrekilde-Petersen.
  24.  
  25.   Copyright statement:
  26.  
  27.   You may distribute this document freely as a whole in any form and
  28.   free of charge.  You may distribute parts of this document, provided
  29.   this copyright message is included and you include a message stating
  30.   that it is not the full HOWTO document and a pointer to where the full
  31.   document can be obtained.  Specifically, it may be included in
  32.   commercial distributions, without my prior consent.  However, I would
  33.   like to be informed of such usage.
  34.  
  35.   You may translate this HOWTO into any language, whatsoever, provided
  36.   that you leave this copyright statement and the disclaimer intact, and
  37.   that you append a notice stating who translated the document.
  38.  
  39.   DISCLAIMER:
  40.  
  41.   While I have tried to include the most correct and up-to-date
  42.   information available to me, I cannot guarantee that usage of the
  43.   information in this document does not result in loss of data.  I
  44.   provide NO WARRANTY about the information in the HOWTO and I cannot be
  45.   made liable for any consequences for any damage resulting from using
  46.   information in this HOWTO.
  47.  
  48.  
  49.  
  50.   2.  News flash
  51.  
  52.  
  53.   IMPORTANT: The ftape discussion forum has moved per May 11th, 1995
  54.   from the niksula.hut.fi server to the linux-tape list on
  55.   vger.rutgers.edu.  Please turn to the section ``Following the ftape
  56.   development'' on how to leave the niksula channel and subscribe to the
  57.   vger list.
  58.  
  59.   This isn't exactly news, but anyway: The ascii and HTML versions have
  60.   some of the section headers permuted.  This is a feature of the SGML
  61.   system that the LDP project uses. I can't help it.
  62.  
  63.  
  64.  
  65.      version 1.53 (July 2, 1995)
  66.  
  67.      o  Section on the modules updated to v1.2.8
  68.  
  69.      o  The index in the LaTeX'ed versions are now correct (thanks to an
  70.         updated SGML system)
  71.  
  72.      o  IOmega Ditto Tape Insider 1700 drive added.
  73.  
  74.      version 1.52 (June 11, 1995)
  75.  
  76.      o  Correction of spelling and typos.
  77.  
  78.      version 1.51 (May 13, 1995)
  79.  
  80.      o  Updated to ftape-2.03b
  81.  
  82.      o  Included patch for timeouts on long tapes (QIC-WIDE)
  83.  
  84.      version 1.5 (May 11, 1995)
  85.  
  86.      o  Updated to ftape-2.03a
  87.  
  88.      o  The ftape discussion list has moved to linux-
  89.         tape@vger.rutgers.edu
  90.  
  91.      o  Conner TSM850R added to list of drives
  92.  
  93.      o  Colorado FC-20 controller works as of v2.03
  94.  
  95.      version 1.41 (Apr 1, 1995)
  96.  
  97.      o  More bad English corrected, thanks to Daniel Barclay (I'm not a
  98.         native speaker :-)
  99.  
  100.      version 1.4 (Mar 17, 1995)
  101.  
  102.      o  Mostly typos corrected.
  103.  
  104.  
  105.  
  106.   3.  The preliminaries
  107.  
  108.  
  109.   Note that I (the howto-maintainer) no longer use ftape myself, so I
  110.   cannot give much up-to-date advice on e.g. compiling ftape.  If you
  111.   have a problem, try posting on comp.os.linux.help, or to the tape
  112.   discussion list on vger.rutger.edu (see ``Following the ftape
  113.   development'' below).  You should try to post a summary of your
  114.   problems and its solution(s), after you've got it working, even if you
  115.   only got it partially working. Please also send me
  116.   (<khp@pip.dknet.dk>) a copy of your solution so that I can add it to
  117.   the HOWTO.
  118.  
  119.   I read my mail daily, I try to respond to everyone, but I cannot
  120.   guarantee that I will respond immediately.  Also, I seldomly read the
  121.   newsgroups (comp.os.linux.help et al), as my Internet access is
  122.   through a modem line and I have to read news On-line 8-(.
  123.  
  124.   If you recieve this as part of a printed distribution or on a CD-ROM,
  125.   please check out the Linux Documentation home page
  126.   <http://sunsite.unc.edu/mdw/linux.hmtl> or ftp to sunsite.unc.edu:
  127.   /pub/Linux/doc/HOWTO to see if there exists a more recent version.
  128.   This could potentially save you a lot of troubles.
  129.  
  130.  
  131.  
  132.  
  133.   4.  Getting and installing ftape
  134.  
  135.  
  136.   I will eventually include an installation guide in this section.
  137.   You'll have to do without it, for the moment being.
  138.  
  139.  
  140.   4.1.  What is ftape
  141.  
  142.  
  143.   ftape is a driver program that controls various low-cost tape drives
  144.   that connect to the floppy controller.
  145.  
  146.   ftape is not a backup program as such; it is a device driver, which
  147.   allows you to use the tape drive (just like the SoundBlaster 16 driver
  148.   let you use your sound card) through the device file /dev/[n]rft[0-3].
  149.  
  150.   ftape is written by Bas Laarhoven <bas@vimec.nl>, with ``a little help
  151.   from his friends'' to sort out the ECC (Error Correcting Code) stuff.
  152.   ftape is copyrighted by Bas under the GNU General Public License,
  153.   which basically says: ``go ahead and share this with the world, just
  154.   don't disallow other people from copying it further''.
  155.  
  156.   ftape is currently beta testing, and has been that for some time now.
  157.   It is reliable enough for critical backups (but always remember to
  158.   check your backups, so you won't get a nasty surprise some day).
  159.  
  160.   ftape supports drives that conform to the QIC-117 and one of the
  161.   QIC-80, QIC-40, QIC-3010, and QIC-3020 standards.  ftape does not
  162.   support QIC-02 tape drives or drives that connect via a SCSI
  163.   interface, e.g. DAT drives.  SCSI drives are accessed as
  164.   /dev/[n]st[0-7] and are supported by the kernel through the SCSI
  165.   drivers.  If you look for help on SCSI tape drives, you should read
  166.   the SCSI-howto.  See section ``Supported drives'' and ``Un-supported
  167.   drives'' for a list of supported and unsupported drives.
  168.  
  169.  
  170.  
  171.   4.2.  How fast is ftape?
  172.  
  173.  
  174.   You can achieve quite respectable backup and restore speeds with
  175.   ftape: I have a Colorado DJ-20 and an Adaptec 1542CF controller, and
  176.   have measured a 4.25Mbyte/min sustained data transfer rate (no
  177.   compression) across a 70Mbyte tar archive, while comparing the archive
  178.   on the tape with data on my IDE disk.  The speed of ftape is mostly
  179.   dependent on the data transfer rate of your FDC: The AHA1542CF has a
  180.   ``post-1991 82077'' FDC, and it will push 1Mbit/sec at the tape drive.
  181.   If you have an FDC which can only deliver 500Kbit/sec data rates, you
  182.   will see half the transfer rate (well, roughly).
  183.  
  184.  
  185.  
  186.   4.3.  What you need to install ftape
  187.  
  188.  
  189.   There are three source distributions that you must have to get ftape
  190.   running:
  191.  
  192.  
  193.   o  ftape v2.03 / v2.03a
  194.  
  195.   o  modules v1.1.87
  196.  
  197.   o  Linux kernel v1.2.<something>
  198.  
  199.   4.3.1.  Getting ftape
  200.  
  201.  
  202.   ftape can be fetched from the following site (and its mirrors):
  203.  
  204.  
  205.  
  206.            sunsite.unc.edu [152.2.22.81]: /pub/Linux/kernel/tapes/
  207.  
  208.  
  209.  
  210.  
  211.   You should get the files: ftape-2.03.tar.gz, ftape-2.03a-patch.gz and
  212.   ftape-lsm. The .tar.gz and patch.gz files are the ftape driver proper,
  213.   while the lsm file is a Linux Software Map (LSM) file for the LSM
  214.   project.
  215.  
  216.  
  217.   The following patch, which corrects timeouts on long tapes, was sent
  218.   out by Bas on the Linux Tape list on May 13th:
  219.  
  220.  
  221.  
  222.        --- 1.29        1995/05/10 16:09:36
  223.        +++ ftape-read.c        1995/05/12 17:36:37
  224.        @@ -478,10 +478,10 @@
  225.             case QIC_TAPE_QIC80:
  226.               segments_per_1000_inch = 488;
  227.               break;
  228.        -    case QIC_TAPE_QIC3020:
  229.        +    case QIC_TAPE_QIC3010:
  230.               segments_per_1000_inch = 730;
  231.               break;
  232.        -    case QIC_TAPE_QIC3010:
  233.        +    case QIC_TAPE_QIC3020:
  234.               segments_per_1000_inch = 1430;
  235.               break;
  236.             }
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.   4.3.2.  modules
  244.  
  245.  
  246.   Newer kernels (from 1.1.85 and on), have improved support for loadable
  247.   modules (by Bjoern Ekwall and Jacques Gelinas), which (if possible)
  248.   allows you to insert modules compiled for an `old' kernel into a `new'
  249.   kernel.  To compile the kernel with this improved module support, you
  250.   need the modules-1.2.8.tar.gz file.  The modules packages can be found
  251.   on tsx-11.mit.edu and sunsite.unc.edu.  You must compile and install
  252.   it before you compile the kernel.
  253.  
  254.  
  255.   4.3.2.1.  What's new in modules-1.2.8?
  256.  
  257.  
  258.   The v1.2.8 package no longer exhibits the infamous insmod Oops bug,
  259.   when ftape is inserted into the kernel.  This was, by the way, caused
  260.   because insmod did not handle modules with more that 4Kbyte of static
  261.   data correctly.  However, this is not the greatest advantage of the
  262.   v1.2.8 package.
  263.  
  264.  
  265.   With v1.2.8 comes the kerneld daemon which can automatically insert
  266.   the needed modules as needed.  This requires a patch to the v1.2.x
  267.   kernels, but the patch is supposed to be included as a standard part
  268.   of the kernel, when the 1.3 kernel series starts.
  269.  
  270.  
  271.  
  272.   4.3.2.2.  Installing modules-1.1.87
  273.  
  274.  
  275.   Although you still can use version 1.1.87 of the modules utilities, I
  276.   recommend that everyone upgrade to the 1.2.8 version.
  277.  
  278.   If do not wish to upgrade (or cannot), here is what to remember when
  279.   installing the 1.1.87 version:
  280.  
  281.   The modules-1.1.87 package has a bug which will cause the insmod to
  282.   generate a kernel Oops, which the ftape modules is inserted.  This bug
  283.   is corrected by the insmod.c, insmod.h, and load_aout.c files that you
  284.   can find in the ftape-2.03/insmod directory.  (From now on, mail about
  285.   Oops'es when ftape is inserted will quietly go to /dev/null).
  286.  
  287.  
  288.  
  289.   4.3.3.  The Linux kernel
  290.  
  291.  
  292.   Since Linux version 1.2 has been out for some time I assume that
  293.   everyone has switched over to it.  If you have not already switched
  294.   over, I assume you have a very good reason for not doing so, and that
  295.   you can cope with the differences in installation etc, that it will
  296.   make for you.
  297.  
  298.   The kernel can be fetched from a large number of sites all over the
  299.   world, including these:
  300.  
  301.  
  302.  
  303.            sunsite.unc.edu [152.2.22.81]:   /pub/Linux/kernel/tapes/
  304.            tsx-11.mit.edu  [18.172.1.2]:    /pub/linux/sources/system/
  305.            ftp.funet.fi    [218.214.248.6]: /pub/OS/Linux/PEOPLE/Linus/
  306.  
  307.  
  308.  
  309.  
  310.   You will find a number of subdirectories, including two named v1.1 and
  311.   v1.2.  These contain (you guessed it!) v1.1 and v1.2 of the kernel.  I
  312.   suggest that you get version 1.2.x.
  313.  
  314.  
  315.  
  316.   4.4.  If you have ftape-2.02, or earlier
  317.  
  318.  
  319.   Since ftape both has been improved and some more bugs have been thrown
  320.   out, you should consider upgrading to 2.03b mandatory.
  321.  
  322.  
  323.   4.5.  ftape driver Following the development of the
  324.  
  325.  
  326.   If you want to follow the development of the ftape driver, you should
  327.   consider subscribing to the TAPE mailing list on vger. To subscribe to
  328.   it, send a mail saying `subscribe linux-tape' to
  329.   majordomo@vger.rutgers.edu.  When you subscribe, you will be sent a
  330.   greeting mail, which will tell you how to submit real mails and how to
  331.   get off the list again.
  332.  
  333.   Note for old users:
  334.  
  335.   On May 11th, Bas announced (together with the 2.03a patch) that the
  336.   `official' mailing list from now on will we the linux-tape list on
  337.   vger.  Hence, all that are on the Linux-activists list on Niksula
  338.   should move to the other list.
  339.  
  340.   Since I once in a while see mail of the type ``Help! I can't get off
  341.   niksula'', I am going to be a bit elaborate on how to get off (and
  342.   what to do before despairing).
  343.  
  344.   To get off the TAPE channel on Niksula, you send a mail to <linux-
  345.   activists-request@niksula.hut.fi> with the line `X-Mn-Admin: leave
  346.   TAPE'.
  347.  
  348.   If Niksula refuses, try sending a mail with the line `X-Mn-Info: user
  349.   <yourloginname>'.  This should return you a mail which tells you under
  350.   what email address you are subscribed.  The Niksula mailer is very
  351.   adamant on the point that you must unsubscribe with the same email
  352.   address that you used to subscribe originally.
  353.  
  354.   If the machine that you originally subscribed with has changed its
  355.   address, you can try to fake the mail by adding the line `From:
  356.   <foo@bar.site.edu>' right before or after the `leave TAPE' line.  This
  357.   should fool niksula into unsubscribing you.  As a very last resort,
  358.   you could talk someone into logging into the SMTP port on niksula and
  359.   creating a faked mail.
  360.  
  361.  
  362.  
  363.   4.6.  Compiling and installing the ftape driver
  364.  
  365.  
  366.   There is included an installation guide (the file Install-guide) in
  367.   the ftape distribution; please read that.
  368.  
  369.  
  370.  
  371.   4.7.  Can I format my tapes under Linux?
  372.  
  373.  
  374.   No!  Honestly, noone is working on it: If you want to work on it, drop
  375.   Bas a line. Until then, you'll have to use MessyDOS (arghhh!)  instead
  376.   or buy preformatted tapes.  However, some of the preformatted tapes
  377.   are not checked for bad sectors!.  If the ftape driver encounters a
  378.   tape with no bad blocks, it will issue a warning.  If ftape barfs at
  379.   your preformatted tapes, try out your DOS software.  If both the DOS
  380.   software and ftape barfs on your tapes, a reformat will very probably
  381.   cure the problem.
  382.  
  383.   Note that to be able to use your newly formatted tapes under ftape,
  384.   you must erase the tape first:
  385.  
  386.  
  387.                mt -f /dev/nftape erase
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.   4.8.  Which formatting programs can I use under DOS?
  398.  
  399.  
  400.   These are known to work:
  401.  
  402.  
  403.   o  Colorado Memory System's software (tape.exe)
  404.  
  405.   o  Conner Backup Basics v1.1 and all Windows versions
  406.  
  407.   o  Norton Backup
  408.  
  409.   o  QICstream version 2
  410.  
  411.   o  Tallgrass FileSecure v1.52
  412.  
  413.   o  Escom Powerstream 3.0 (qs3.exe -- QICstream v3?)
  414.  
  415.   These programs are known to be more or less buggy:
  416.  
  417.  
  418.   o  Conner Backup Basics 1.0
  419.  
  420.   o  Colorado Windows tape program
  421.  
  422.   o  CP Backup (wastes tape space, but is OK apart from that)
  423.  
  424.   In fact, most software under DOS should work.  The Conner Backup
  425.   Basics v1.0 has a parameter off by one (someone could not read the
  426.   QIC-80 specs right!), which is corrected in version 1.1.  However,
  427.   ftape detects this, and will work around it.  Dennis T. Flaherty
  428.   (<dennisf@denix.elk.miles.com>) report that Conner C250MQ owners can
  429.   obtain the new v1.1, by calling Conner at 1-800-4Conner (in the US)
  430.   and ask for an upgrade (for a nominal fee for the floppy).  The
  431.   Windows versions should work fine.  Some versions of Colorado's tape
  432.   program for windows, has an off-by-one error in the number of
  433.   segments. ftape also detect and work around that bug.
  434.  
  435.   Central Point Backup can be used, but it wastes precious tape space
  436.   when it encounters a bad spot on the tape.
  437.  
  438.   NOTE: If you are running a formatting software under DOS, which is not
  439.   mentioned here, please mail the relevant info to me
  440.   (<khp@pip.dknet.dk>), so I can update the HOWTO.
  441.  
  442.  
  443.  
  444.   4.9.  Mixing ftape and floppies
  445.  
  446.  
  447.   Since both the floppy driver and ftape needs the FDC (and IRQ6), they
  448.   cannot run concurrently.  Thus, if you have mounted a floppy and then
  449.   try to access the tape drive, ftape will complain that it cannot grab
  450.   IRQ6 and then die.  This is especially a problem when designing a
  451.   emergency disk for use with ftape.  This solution is to either load
  452.   the boot/root disk into a ramdisk and then unmount the floppy, or have
  453.   two FDC's.
  454.  
  455.  
  456.  
  457.  
  458.  
  459.   5.  (Un)supported hardware
  460.  
  461.  
  462.  
  463.   5.1.  Supported tape drives
  464.  
  465.  
  466.   All drives that are both QIC-117 compatible and either QIC-40 or
  467.   QIC-80 compatible should work. There are also experimental support of
  468.   QIC-3010 and QIC-3020 drives (QIC-3010/302 can use 8mm tapes. This is
  469.   sometimes refered to as `QIC-WIDE'). Currently, the list of drives
  470.   that are known to work with ftape is:
  471.  
  472.  
  473.   o  Alloy Retriever 250
  474.  
  475.   o  Archive 5580i / XL9250i
  476.  
  477.   o  Colorado DJ-10 / DJ-20 (aka: Jumbo 120 / Jumbo 250)
  478.  
  479.   o  Conner C250MQ
  480.  
  481.   o  Conner TSM420R
  482.  
  483.   o  Conner TSM850R
  484.  
  485.   o  Escom / Archive (Hornet) 31250Q
  486.  
  487.   o  Insight 80Mb
  488.  
  489.   o  Iomega 250
  490.  
  491.   o  IOmega Ditto Tape Insider 1700 (other Ditto drives probably work
  492.      too)
  493.  
  494.   o  Mountain FS8000
  495.  
  496.   o  Summit SE 150 / SE 250
  497.  
  498.   o  Tallgrass FS300 (needs a tiny hack to work with AHA1542B)
  499.  
  500.   o  Memorex tape drive backup system
  501.  
  502.   o  Wangtek 3080F
  503.  
  504.   You can always check out the newest list of drives that are recognised
  505.   by ftape, by looking in the file vendors.h in the ftape distribution.
  506.  
  507.   Although I do not want to endorse one drive type over another, I want
  508.   to mention that the Colorado DJ-20 drive is rather noisy, when
  509.   compared to, say, a Conner C250MQ drive ('tis said that the Colorado
  510.   is 5-10 times as noisy as the Conner drive. I can't tell for sure, but
  511.   I have a Colorado, and it is quite noisy).
  512.  
  513.   If you have a Tallgrass FS300 and an AHA1542B, you need to increase
  514.   the bus-on / bus-off time of the 1542B.  Antti Virjo
  515.   (<klanvi@uta.fi>), says that changing CMD_BUSON_TIME to 4 and
  516.   CMD_BUSOFF_CMD to 12 in linux/drivers/scsi/aha1542.c will do the
  517.   trick.
  518.  
  519.   One user has reported that ftape works (partially) the with Conner
  520.   TSM420R drive, which supports both QIC-80 (normal) and `QIC-WIDE'
  521.   tapes.  As of right now, ftape provides only experimental support for
  522.   QIC-WIDE tapes, and you should be aware of this.  Hopefully, the
  523.   TSM420R drive, and other QIC-WIDE drives, will be supported fully
  524.   soon.  If you have a drive that can use QIC-WIDE tapes, are interested
  525.   in getting it to work with ftape, and not afraid of being ALPHA
  526.   tester, drop Bas <bas@vimec.nl> a mail, stating which drive you have.
  527.  
  528.  
  529.   NOTE: If you have a drive that works fine, but it is not listed here,
  530.   please send a mail to the HOWTO maintainer (<khp@pip.dknet.dk>).
  531.  
  532.  
  533.   5.2.  Supported special controllers
  534.  
  535.  
  536.   These dedicated high-speed tape controllers are supported by ftape:
  537.  
  538.  
  539.   o  Colorado FC-10
  540.  
  541.   o  Colorado FC-20
  542.  
  543.   o  Mountain MACH-2
  544.  
  545.   o  IOmega Tape Accelerator II
  546.  
  547.   Support for the FC-10 controller has been merged into the ftape driver
  548.   in version 1.12. See the RELEASE-NOTES and the Makefile files in the
  549.   ftape distribution.  Since of version 2.03 of ftape, the FC-20
  550.   controller will work (but do check the Release notes!).
  551.  
  552.   The support for the MACH-2 controller was added in ftape-1.14d.
  553.  
  554.   To use the IOmega Tape Accelerator II, use -DMACH2, and set the right
  555.   settings for I/O base, IRQ and DMA.  This works (by the empirical
  556.   testing of Scott Bailey <sbailey@xcc.mc.xerox.com>), with at least
  557.   ftape-2.02.
  558.  
  559.  
  560.   Anti-Colorado message:
  561.  
  562.   As of lately, Colorado has proved themselves totally unwilling to help
  563.   with FC-10 and FC-20 support.  This is sad, and can only force me to
  564.   say: Don't buy a Colorado high-speed controller, or even a Colorado
  565.   tape drive.  Why support a manufacturer who does not want to support
  566.   his own product?
  567.  
  568.  
  569.  
  570.   5.3.  Un-supported tape drives
  571.  
  572.  
  573.  
  574.   o  All drives that connect to the parallel port (eg: Colorado Trakker)
  575.  
  576.   o  High-Speed controller's. (eg: Colorado TC-15  & FC-20)
  577.  
  578.   o  Irwin AX250L / Accutrak 250. (not a QIC-80 drive)
  579.  
  580.   o  IBM Internal Tape Backup Unit (identical to the Irwin AX250L drive)
  581.  
  582.   o  COREtape light
  583.  
  584.   Generally, ALL drives that connect to the parallel port are NOT
  585.   supported.  This is because these drives uses (different) proprietary
  586.   interfaces, that are very much different from the QIC-117 standard.
  587.  
  588.   The Colorado TC-15 controller (and its like) are not supported
  589.   directly by the ftape driver.  The only `special' controllers that can
  590.   be used with ftape is the Colorado FC-10 and the Mountain MACH-2 (see
  591.   above).
  592.  
  593.   The Irwin AX250L (and the IBM Internal Tape Backup Unit) does not work
  594.   the ftape.  This is because they only support QIC-117, but not the
  595.   QIC-80 standard (they use Irwin's proprietary servoe (Rhomat) format).
  596.   I know nothing about the Rhomat format, nor where to get any info on
  597.   it.  Sorry.
  598.  
  599.   The COREtape light, does not accept the initialisation commands, we're
  600.   feeding it. This pretty much leaves the drive unusable.
  601.  
  602.  
  603.  
  604.   5.4.  Using an external tape drive with ftape
  605.  
  606.  
  607.   If you have a floppy controller which has a female DB37 connector on
  608.   the bracket (and some means of delivering power to the drive), you can
  609.   use it with ftape.  OK, that sentence was not very obvious. Let's try
  610.   it this way: Some FDC's (the very ancient one's), have a DB37
  611.   connector on the bracket, for connecting to external floppy drives.
  612.  
  613.   If you make a suitable cable (from a quick glance on an FDC that I've
  614.   got lying around, it seems to be a straight 1-to-1 cable. However,
  615.   your milage may vary) from the DB37 connector (on the FDC) and to your
  616.   external tape drive, you can get ftape to control your tape drive.
  617.  
  618.   This is because that from a program's view there is no difference
  619.   between the internal and the external connectors. So, from ftape's
  620.   point of view, they are identical.
  621.  
  622.  
  623.  
  624.   5.5.  ftape Getting PCI motherboards to work with
  625.  
  626.  
  627.   Unfortunately, some PCI motherboards cause problems when running
  628.   ftape.  Some people have experienced that ftape would not run in a PCI
  629.   based box, but ran flawlessly in a normal ISA based 386DX machine.  To
  630.   quote from the RELEASE-NOTES file in the ftape distribution:
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.   More PCI news:
  662.   --------------
  663.  
  664.   There have been more reports about PCI problems, some of them
  665.   were solved by upgrading the (flash) BIOS.
  666.   Other rumours are that it has to do with the FDC being on the
  667.   PCI bus, but that is not the case with the Intel Premiere boards.
  668.  
  669.   Here is a list of systems and the BIOS versions known to work:
  670.  
  671.   board:                          bios revision:
  672.  
  673.   Intel Premiere PCI (Revenge)    1.00.09.AF2
  674.  
  675.   Intel Premiere PCI II (Plato)   1.00.08.AX1 (disable GAT in BIOS!)
  676.                                   1.00.10.AX1
  677.  
  678.   To see if you're having the GAT problem, try making a backup
  679.   under DOS. If it's very slow and often repositions you're
  680.   probably having this problem.
  681.  
  682.   PCI news:
  683.   ---------
  684.   There have been some problem reports from people using PCI-bus based
  685.   systems getting overrun errors.
  686.   I wasn't able to reproduce these until I ran ftape on a Intel Plato
  687.   (Premiere PCI II) motherboard with bios version 1.00.08AX1.
  688.   It turned out that if GAT (Guaranteed Access Timing) is enabled (?)
  689.   ftape gets a lot of overrun errors.
  690.   The problem disappears when disabling GAT in the bios.
  691.   Note that Intel removed this setting (permanently disabled) from the
  692.   1.00.10AX1 bios !
  693.  
  694.   It looks like that if GAT is enabled there are often large periods
  695.   (greater than 120 us !??) on the ISA bus that the DMA controller cannot
  696.   service the floppy disk controller.
  697.   I cannot imagine this being acceptable in a decent PCI implementation.
  698.   Maybe this is a `feature' of the chipset. I can only speculate why
  699.   Intel choose to remove the option from the latest Bios...
  700.  
  701.   The lesson of this all is that there may be other motherboard
  702.   implementations having the same of similar problems.
  703.   If you experience a lot of overrun errors during a backup to tape,
  704.   see if there is some setting in the Bios that may influence the
  705.   bus timing.
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.   6.  Backing up and restoring data
  715.  
  716.  
  717.   This section describes some simple uses of tar and mt.
  718.  
  719.  
  720.  
  721.   6.1.  Writing an archive to a tape
  722.  
  723.  
  724.   You can use `tar', `dd', `cpio', and `afio'. You will need to use `mt'
  725.   to get the full potential of your tapes and the ftape driver.  For a
  726.   start I'd recommend using `tar', as it can archive lots of directories
  727.   and let you pick out seperate files from an archive.  I have been told
  728.   that cpio creates smaller archives and is more flexible than tar, but
  729.   I haven't tried it myself.  `afio' creates backups where each file is
  730.   compressed individually and then concatenated.  This will allow you to
  731.   access the files ``after'' the point of the error.  If you use gzipped
  732.   tar files, all data after the point of the error is lost! (to me, this
  733.   is a pretty good reason for NOT using compression on backups).
  734.  
  735.   To make a backup of your kernel source tree using tar, do this
  736.   (assuming you have the sources in /usr/src/linux):
  737.  
  738.  
  739.  
  740.                cd /usr/src
  741.                tar cf /dev/ftape linux
  742.  
  743.  
  744.  
  745.  
  746.   This will not compress the files, but gives you a smoother tape run.
  747.   If you want the compression (and you've got tar 1.11.2), you just
  748.   include the -z flag(*), eg: `tar czf /dev/ftape linux'
  749.  
  750.   For further instructions on how to use tar, dd and mt look at the man
  751.   pages and the texinfo files that comes with the respective
  752.   distributions.
  753.  
  754.   (*) tar assumes that the first argument is options, so the `-' is not
  755.   necessary, i.e. these two commands are the same: `tar xzf /dev/ftape'
  756.   and `tar -xzf /dev/ftape'
  757.  
  758.  
  759.  
  760.   6.2.  Restoring an archive
  761.  
  762.  
  763.   OK, let us restore the backup of the kernel source you made in section
  764.   ``Writing an archive to a tape'' above.  To do this you simply say
  765.  
  766.  
  767.  
  768.                tar xf /dev/ftape
  769.  
  770.  
  771.  
  772.  
  773.   If you used compression, you will have to say
  774.  
  775.  
  776.  
  777.                tar xzf /dev/ftape
  778.  
  779.  
  780.  
  781.  
  782.   When you use compression, gzip will complain about trailing garbage
  783.   after the very end of the archive (and this will lead to a `broken
  784.   pipe' message).  This can be safely ignored.
  785.  
  786.   For the other utilities, please read the man page.
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.   6.3.  Testing the archive
  794.  
  795.  
  796.   tar has an option (-d) for detecting differences between two archives.
  797.   To test your backup of the kernel source say
  798.  
  799.  
  800.  
  801.                tar df /dev/ftape
  802.  
  803.  
  804.  
  805.  
  806.   If you do not have the man page for tar, you are not lost (yet); tar
  807.   has a builtin option list: try `tar --help 2>&1 | more'
  808.  
  809.  
  810.  
  811.   6.4.  Putting more than one tar file on a tape
  812.  
  813.  
  814.   To put more than one tar file on a tape you must have the mt utility.
  815.   You will probably have it already, if you got one of the mainline
  816.   distributions, e.g.  Slackware or Debian.
  817.  
  818.   tar generates a single Tape ARchive (that's why it is called `tar')
  819.   and knows nothing about multiple files or positioning of a tape, it
  820.   just reads or writes from/to a device. mt knows everyting about moving
  821.   the tape back and forth, but nothing about reading the data off the
  822.   tape.  As you might have guessed, tar and mt in conjunction, does the
  823.   trick.
  824.  
  825.   By using the nrft[0-3] (nftape) device, you can use `mt' to position
  826.   the tape the correct place (`mt -f /dev/nftape fsf 2' means step over
  827.   two ``file marks'', i.e.  tar files) and then use tar to read or write
  828.   the relevant data.
  829.  
  830.  
  831.  
  832.   6.5.  Appending files to an archive
  833.  
  834.  
  835.   ``Is there a way to extend an archive -- put a file on the tape, then
  836.   later, add more to the tape?''
  837.  
  838.   No. The tar documentation will tell you to use `tar -Ar', but it does
  839.   not work.  This is a limitation of the current ftape driver.
  840.  
  841.  
  842.  
  843.   6.6.  Mount/unmounting tapes
  844.  
  845.  
  846.   Since a tape does not have a ``filesystem'' on it, you do not mount /
  847.   unmount the tape.  To backup, you just insert the tape and run your
  848.   `tar' command (or whatever you use to access the tape with).
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.   7.  Creating an emergency boot floppy for ftape
  860.  
  861.  
  862.   This section was written by Claus Toendering <ct@login.dknet.dk>.
  863.  
  864.   Once you are the happy owner of a tape drive and several tapes full of
  865.   backups, you will probably ask yourself this question: ``If everything
  866.   goes wrong, and I completely lose my hard disk, how do I restore my
  867.   files from tape?''
  868.  
  869.   What you need is an emergency floppy disk that contains enough files
  870.   to enable you to boot Linux and restore your hard disk from tape.
  871.  
  872.   The first thing you should do is to read ``The Linux Bootdisk HOWTO''
  873.   written by Graham Chapman <grahamc@zeta.org.au>.  That document tells
  874.   you almost everything you need to know about making an emergency
  875.   floppy boot kit.  The paragraphs below contain a few extra pieces of
  876.   information that will make your life a bit easier when you follow
  877.   Graham Chapman's procedures:
  878.  
  879.  
  880.   o  You don't really need /etc/init, /etc/inittab, /etc/getty, and
  881.      /etc/rc.d/* on your floppy disk.  If Linux doesn't find /etc/init,
  882.      it will start /bin/sh on your console, which is fine for restoring
  883.      your system.  Deleting these files gives you extra space on your
  884.      floppy, which you will probably need.
  885.  
  886.   o  Find a small version of /bin/sh.  They are frequently available on
  887.      the boot floppies that come with a Linux distribution.  This again
  888.      will give you extra space.
  889.  
  890.   o  The /etc/fstab you include on your floppy disk should look like
  891.      this:
  892.  
  893.  
  894.                /dev/fd0        /               minix   defaults
  895.                none            /proc           proc    defaults
  896.  
  897.  
  898.  
  899.  
  900.  
  901.   Once you have booted from your floppy, give the command:
  902.  
  903.  
  904.                mount -av
  905.  
  906.  
  907.  
  908.  
  909.  
  910.   o  Make sure your floppy drive is not mounted when you access the
  911.      streamer tape!  Otherwise you may get the following error message:
  912.  
  913.  
  914.                Unable to grab IRQ6 for ftape driver
  915.  
  916.  
  917.  
  918.  
  919.  
  920.   This implies that you MUST load the floppy into a RAMDISK.
  921.  
  922.   This has the unfortunate consequence that the programs needed to
  923.   restore the files from the tape must not be located on a separate
  924.   floppy disk.  You have two options here:
  925.      1. You place tar (or cpio or afio or whatever other backup program
  926.         you use) on your root floppy disk.  (This is where you'll need
  927.         all the extra space created in the steps above.)
  928.  
  929.      2. Before you start restoring from tape, copy tar (or cpio or afio
  930.         or whatever) to your hard disk and load it from there.
  931.  
  932.   o  Apart from your backup program, you will probably need mt on your
  933.      root floppy as well.
  934.  
  935.   o  Make sure your ftape device (typically /dev/nrft0) is present on
  936.      your boot floppy.
  937.  
  938.   o  Finally: TRY IT! Of course, I don't recommend that you destroy your
  939.      hard disk contents to see if you are able to restore everything.
  940.      What I do recommend, however, is that you try booting from your
  941.      emergency disks and make sure that you can at least make a file
  942.      listing of the contents of your backup tape.
  943.  
  944.  
  945.  
  946.  
  947.  
  948.   8.  Frequently Asked Questions
  949.  
  950.  
  951.   This is a collection of questions I get asked once in a while, which
  952.   could fall into the category of FAQ's.  If you feel that there is some
  953.   question that ought to be added to the list, please feel free to mail
  954.   me (but do include an answer, thanks!).
  955.  
  956.  
  957.  
  958.   8.1.  Can I exchange tapes with someone using DOS?
  959.  
  960.  
  961.   No.  The DOS software conforms to the QIC-80 specs about the layout of
  962.   the DOS filesystem, and it should(?)  be a small problem to write a
  963.   program that can read/write the DOS format.  In fact, I'd bet that
  964.   creating a nice user interface would be a bigger problem.
  965.  
  966.  
  967.  
  968.   8.2.  How do I `....' with tar?
  969.  
  970.  
  971.   These are really tar questions: Please read the man page and the info
  972.   page.  If you have not got it either, try `tar --help 2>&1 | more'.
  973.  
  974.   If your version of tar is v1.11.1 or earlier, consider upgrading to
  975.   v1.11.2 - This version can call GNU zip directly (i.e.: it supports
  976.   the -z option) and has an elaborate help included.  Also, it compiles
  977.   right out of the box on Linux.
  978.  
  979.  
  980.  
  981.   8.3.  ftape DMA transfers gives ECC errors
  982.  
  983.  
  984.   Sadly to say there are some SVGA cards and ethernet cards that do not
  985.   decode their addresses correct.  This typically happens when the ftape
  986.   buffers are in the range 0x1a0000 to 0x1c0000.  Somehow, the DMA write
  987.   cycles get clobbered and every other byte written gets a bad value
  988.   (0xff).  These problems are reported to happen with both SVGA and
  989.   ethernet cards.  We know of at least one (bad?) ATI 16bit VGA card
  990.   that caused this.
  991.   The easiest solution is to put the card in an 8bit slot (it is often
  992.   not enough to reconfigure the card to 8bit transfers).  Moving the
  993.   ftape buffer away from the VGA range is only a partial solution; All
  994.   DMA buffers used in Linux can have this problem!  Let us make this one
  995.   clear: This has nothing to do with the ftape software.
  996.  
  997.  
  998.  
  999.   8.4.  insmod says the kernel version is wrong
  1000.  
  1001.  
  1002.   The insmod program checks the kernel version against the version
  1003.   recorded in the ftape driver.  This is a string in kernel-version.h,
  1004.   (e.g.: #define KERNEL_VERSION "1.1.72";) which is extracted from the
  1005.   kernel you are running when you run `make dep'.  If you got the error
  1006.   when you tried to insert the ftape driver, remove the file `kernel-
  1007.   version.h', type `make dep; make' again and the kernel-version.h file
  1008.   should be updated.  Remember that you will have to do this every time
  1009.   you change to another kernel version.
  1010.  
  1011.   Newer versions of insmod allows you to ``force'' insertion of a module
  1012.   into the kernel, even though the version string is incorrect.
  1013.  
  1014.  
  1015.   8.5.  format''' ftape complains that ``This tape has no 'Linux raw
  1016.  
  1017.  
  1018.   You get this complaint, if you haven't erased your freshly formatted
  1019.   tape.  This is because ftape wants a ``magic header'' on the tape, to
  1020.   be able that it is allowed to interpret the header segment in it's own
  1021.   way (eg: file marks).  To remove the problem, say `mt -f /dev/nftape
  1022.   erase'
  1023.  
  1024.  
  1025.  
  1026.   8.6.  binaries/sources/manpages?  Where can I find the tar/mt/cpio/dd
  1027.  
  1028.  
  1029.   All of these tools have been developed by the GNU project, and the
  1030.   source (and man page) can be fetched from just-about any ftp site in
  1031.   the world (including ftp.funet.fi, tsx-11.mit.edu, and
  1032.   sunsite.unc.edu).  In any case they can be fetched from the official
  1033.   GNU home site: prep.ai.mit.edu [18.71.0.38]:/pub/gnu.  The latest
  1034.   versions (by 26. march 94) are:
  1035.  
  1036.  
  1037.  
  1038.                cpio:   2.3 (cpio-2.3.tar.gz)
  1039.                dd:     3.9 (fileutils-3.9.tar.gz)
  1040.                mt:     2.3 (cpio-2.3.tar.gz)
  1041.                tar:    1.11.2 (tar-1.11.2.tar.gz)
  1042.                gzip:   1.2.4 (gzip-1.2.4.tar.gz)
  1043.  
  1044.  
  1045.  
  1046.  
  1047.   They all compile out of the box on Linux v1.0.4 / libc v4.5.19 / gcc
  1048.   v2.5.8 (The rmt program does not compile out of the box, but it is not
  1049.   needed as it is only used for accessing the tape drive remotely).
  1050.   There is a patch for mt included in the ftape distribution, which
  1051.   makes the mt status command spew out usable information for ftape
  1052.   drives.
  1053.  
  1054.  
  1055.  
  1056.  
  1057.   8.7.  Where can I obtain the QIC standards?
  1058.  
  1059.  
  1060.   If you wish to help developing ftape, or add some utility (e.g. a tape
  1061.   formatting program), you will need that appropriate QIC standards.
  1062.   The standard(s) to get is: QIC-80 and perhaps QIC-117.  QIC-117
  1063.   describes how commands are sent to the tape drive (including timing
  1064.   etc), so you would probably never need it.  QIC-80 describes the tape
  1065.   layout, ECC code, standard filesystem and all such ``higher-level''
  1066.   stuff.  You can get the QIC standards from the following address:
  1067.  
  1068.  
  1069.  
  1070.        Quarter Inch Cartridge Drive Standards, Inc.
  1071.        311 East Carrillo Street
  1072.        Santa Barbara, California 93101
  1073.        Phone: (805) 963-3853
  1074.        Fax:   (805) 962-1541
  1075.  
  1076.  
  1077.  
  1078.  
  1079.   Note: They are registered as `Freeman Associates, Inc' in the phone
  1080.   book.
  1081.  
  1082.  
  1083.   8.8.  What block-size to use with tar
  1084.  
  1085.  
  1086.   When using compression, and in all general, it can be a benefit to
  1087.   specify to tar, that it should block the output into chunks.  Since
  1088.   ftape cuts things into 29Kbyte blocks, saying `-b58' should be
  1089.   optimum.
  1090.  
  1091.   ``Why 29Kbyte?'', I hear you cry.  Well, the QIC-80 standard specifies
  1092.   that all data should be protected by an Error Correcting Code (ECC)
  1093.   code.  The code specified in the QIC-80 standard is known as a Reed-
  1094.   Solomon (R-S) code.  The R-S code takes 29 data bytes and generates 3
  1095.   parity bytes.  To increase the performance of the ECC code, the parity
  1096.   bytes are generated across 29 1Kbyte sectors.  Thus, ftape takes
  1097.   29Kbytes of data, adds 3Kbytes of ECC parity, and writes 32Kbytes to
  1098.   the tape at a time.  For this reason, ftape will always read and write
  1099.   32K byte blocks to be able to detect (and correct) data errors.
  1100.  
  1101.   If you are curious, and wish to know more, look in the ecc.c and ecc.h
  1102.   files, for an explanation of the code and a reference to a textbook on
  1103.   Reed-Solomon codes.
  1104.  
  1105.  
  1106.  
  1107.   8.9.  ftape detects more bad sectors than DOS on QIC-3020 tapes
  1108.  
  1109.  
  1110.   If you look at the difference, you will notice that ftape always
  1111.   detects 2784 sectors more than DOS.
  1112.  
  1113.  
  1114.   The number that ftape reports is correct (of course :-). Each
  1115.   correctly formatted QIC-3020 tape has 2784 sectors at fixed positions
  1116.   that are marked in the bad sector map. To quote from the specs:
  1117.  
  1118.   "Tracks 5,7,9,11,13,15,17,19,21,23,25 and 27 within 4 segments of
  1119.   either EOT or BOT are prone to increased error rates due to hole
  1120.   imprints.  Therefore, these regions shall be mapped as bad at format
  1121.   time and entered in the bad sector map by indicating that all sectors
  1122.   within the identified segments are bad."
  1123.   This gives 12 tracks * 2 * 4 segments * 29 sectors == 2784 sectors.
  1124.  
  1125.   So ftape choose to report the real number of sectors that cannot be
  1126.   used on the tape, while dos gives a more optimistic number giving a
  1127.   better indication of tape quality.  (ftape's behaviour might change in
  1128.   the future to detect correct formatting and display the separate
  1129.   numbers. It has rather low priority though)
  1130.  
  1131.   QIC-3010 are alike QIC-3020 tapes regarding this.
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.   9.  Debugging the ftape driver
  1140.  
  1141.  
  1142.  
  1143.  
  1144.   9.1.  bug?  The kernel/ftape crashes on me when I do `...' - is that a
  1145.  
  1146.  
  1147.   No, that is a feature ;-)
  1148.  
  1149.   Seriously, reliable software do not crash.  Especially kernels do not
  1150.   or rather should not crash.  If the kernel crashes upon you when you
  1151.   are running ftape, and you can show that it is ftape that is messing
  1152.   things up, regard it as a Bug That Should Be Fixed.  Mail the details
  1153.   to Bas (<bas@vimec.nl>) and to the tape channel.
  1154.  
  1155.  
  1156.  
  1157.   9.2.  OK, it's a bug ...ehhh... feature - How do I submit a report?
  1158.  
  1159.  
  1160.   First, make sure you can reproduce the problem.  Spurious errors are a
  1161.   pain in the ass, since they are just about impossible to hunt down :-/
  1162.   This is a quick check list:
  1163.  
  1164.  
  1165.   o  Kernel version, and patches applied
  1166.  
  1167.   o  ftape version
  1168.  
  1169.   o  tape drive model / manufacturer
  1170.  
  1171.   o  Expansion bus type (EISA, ISA, PCI, or VL-bus)
  1172.  
  1173.   o  What you did to expose the problem
  1174.  
  1175.   o  What went wrong on your system.
  1176.  
  1177.   o  Do not delete the kernel and the ftape.o file. We may want you run
  1178.      try some patches out or run a different test on your system.
  1179.  
  1180.   Increase the tracing level to 7 (just below maximum tracing) and run
  1181.   the offending command again.  Get the tracing data from the kernel log
  1182.   or /proc/kmsg, depending on where you harvest your error messages.
  1183.   Try to look at what ftape spews out at you.  It may look in-
  1184.   comprehensible to you at first, but you can get valuable information
  1185.   from the logfile.  Most messages have a function name prepended, to
  1186.   make it easier to locate the problem.  Look through the source, don't
  1187.   just cry ``WOLF!'', without giving it a try.  If your version of the
  1188.   kernel (or ftape for that matter), is ``old'', when compared to the
  1189.   newest version of the kernel, try to get a newer (or even the newest)
  1190.   kernel and see if the problem goes away under the new kernel.  When
  1191.   you post your problem report, include the information about ftape
  1192.   version, kernel version, expansion bus type (ISA, VL-bus, PCI or
  1193.   EISA), bus speed, floppy controller, and tape drive.  State exactly
  1194.   what you did, and what happened on your system.  Some people have
  1195.   experienced that ftape would not run in a PCI based box, but ran
  1196.   flawlessly in a normal ISA based 386DX machine (see section ``Getting
  1197.   PCI motherboards to work with <tt>ftape</tt>'' on PCI machines above)
  1198.  
  1199.   Also, please think of the poor souls who actually pay the their
  1200.   Internet access (like me): avoid posting a (huge) log from the ftape
  1201.   run, without reason.  Instead, you could describe the problem, and
  1202.   offer to send the log to the interested parties.
  1203.  
  1204.   Send your bug report to <linux-tape@vger.rutgers.edu>. You might also
  1205.   want to mail the bug to <bas@vimec.nl>.
  1206.  
  1207.  
  1208.   9.3.  How do I change the trace-level?
  1209.  
  1210.  
  1211.   You can do this two ways: either change the default trace-level (the
  1212.   var `tracing' in file `ftape-rw.c') and recompile or say
  1213.  
  1214.  
  1215.  
  1216.                mt -f /dev/ftape fsr <tracing-level>
  1217.  
  1218.  
  1219.  
  1220.  
  1221.   The use of the fsr command in mt is a hack, and will probably
  1222.   disappear or change with time.
  1223.  
  1224.  
  1225.   9.4.  ftape keep saying `... new tape', what do I do?
  1226.  
  1227.  
  1228.   [You cannot do this anymore; I do not know a way of fixing it]
  1229.  
  1230.   To get rid of this, do this (blindfold): login as root and say `rmmod
  1231.   ftape'.  ftape should choke a few times, give three segmentation
  1232.   violations (or so), and give up life.
  1233.  
  1234.   Check the activity LED on your floppy drive (you do have one, don't
  1235.   you?).  If it is constantly lit, you have turned the floppy cable
  1236.   upside down somewhere.  Check your cable between controller, tape
  1237.   drive and floppy drive.  Usually, one (or more) of the connectors have
  1238.   been turned upside down, such that pin 1 in one end connects to pin 34
  1239.   in the other end.  (All the even-numbered pins are grounded, so you
  1240.   wont be able to use your floppy either).  Don't worry; this cannot
  1241.   damage your hardware.
  1242.